package com.mac.intellect_flow.framework.service;

import com.mac.intellect_flow.framework.dto.SysUserDto;

import java.util.Set;

/**
 * 用户权限处理
 * 
 * @author mac
 */
public interface CurPermissionService {

    Set<String> getRolePermission(SysUserDto user);

    /**
     * 获取菜单数据权限
     * 
     * @param user 用户信息
     * @return 菜单权限信息
     */
    Set<String> getMenuPermission(SysUserDto user);
}
